{extend name='admin@main'}

{block name="content"}
<ul class="layui-timeline">
    {if !empty($agent)}
    <li class="layui-timeline-item">
        <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
        <div class="layui-timeline-content layui-text">
            <h3 class="layui-timeline-title">所属代理商</h3>
            <p>
                姓名：{$agent.name|default=''}
                <br>手机号：{$agent.phone|default=''}
                <br>昵称：{$agent.nickname}
            </p>
        </div>
    </li>
    {/if}
    {if !empty($grand)}
    <li class="layui-timeline-item">
        <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
        <div class="layui-timeline-content layui-text">
            <h3 class="layui-timeline-title">间接邀请人</h3>
            <p>
                昵称：{$grand.nickname}
                <br>手机号：{$grand.phone}
                <br>注册时间：{$grand.create_at}
            </p>
        </div>
    </li>
    {/if}
    {if !empty($parent)}
    <li class="layui-timeline-item">
        <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
        <div class="layui-timeline-content layui-text">
            <h3 class="layui-timeline-title">邀请人</h3>
            <p>
                昵称：{$parent.nickname}
                <br>手机号：{$parent.phone}
                <br>注册时间：{$parent.create_at}
            </p>
        </div>
    </li>
    {/if}
    <li class="layui-timeline-item">
        <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
        <div class="layui-timeline-content layui-text">
            <h3 class="layui-timeline-title">自己</h3>
            <p>
                昵称：{$member.nickname}
                <br>手机号：{$member.phone}
                <br>注册时间：{$member.create_at}

            </p>
        </div>
    </li>
</ul>
{/block}